home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 April: Mac OS SDK / Dev.CD Apr 97 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Interfaces / AIncludes / OCEErrors.a < prev    next >
Encoding:
Text File  |  1996-01-24  |  17.0 KB  |  297 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        OCEErrors.a
  3. ;
  4. ;    Contains:    Apple Open Collaboration Environment Error Interfaces.
  5. ;
  6. ;    Version:    Technology:    AOCE Toolbox 1.02
  7. ;                Package:    Universal Interfaces 2.2 in “MPW” on ETO #20
  8. ;
  9. ;    Copyright:    © 1984-1995 by Apple Computer, Inc.
  10. ;                All rights reserved.
  11. ;
  12. ;    Bugs?:        If you find a problem with this file, use the Apple Bug Reporter
  13. ;                stack.  Include the file and version information (from above)
  14. ;                in the problem description and send to:
  15. ;                    Internet:    apple.bugs@applelink.apple.com
  16. ;                    AppleLink:    APPLE.BUGS
  17. ;
  18. ;
  19.  
  20.     IF &TYPE('__OCEERRORS__') = 'UNDEFINED' THEN
  21. __OCEERRORS__ SET 1
  22.  
  23.  
  24.     IF &TYPE('__ERRORS__') = 'UNDEFINED' THEN
  25.     include 'Errors.a'
  26.     ENDIF
  27. ;        include 'ConditionalMacros.a'                                ;
  28.  
  29. kOCEToolboxNotOpen                EQU        -1500                ; Toolbox not open; perhaps its closing 
  30. kOCEInvalidCommand                EQU        -1501                ; Request code passed to a trap call is invalid 
  31. kOCEInvalidRef                    EQU        -1502                ; a reference to an object is obsolete or invalid 
  32. kOCEBufferTooSmall                EQU        -1503                ; the buffer supplied is too small for the task 
  33. kOCEVersionErr                    EQU        -1504                ; some manner of software version mismatch 
  34. kOCESyncAsyncErr                EQU        -1505                ; Op tried synchronously may only be done async, or vice versa 
  35. kOCEInternalErr                    EQU        -1506                ; the OCE toolbox has an internal error 
  36. kOCENotAnOwner                    EQU        -1507                ; this operation can only be done by the object's owner 
  37. kOCENotImplemented                EQU        -1508                ; Feature not implemented 
  38. kOCENotAuthenticated            EQU        -1509                ; The user must be authenticated 
  39. kOCEAlreadyExists                EQU        -1510                ; The object being added already exists 
  40. kOCEDoesntExist                    EQU        -1511                ; the object being referenced doesn't exist or cannot be found 
  41. kOCEConnectionErr                EQU        -1512                ; Unable to open or maintain a network transport 
  42. kOCEConnectionClosed            EQU        -1513                ; Connect has closed 
  43. kOCEInvalidRecipient            EQU        -1514                ; Invalid recipient/address for this command 
  44. kOCEInvalidIndex                EQU        -1515                ; invalid index (out of range) 
  45. kOCERefIsClosing                EQU        -1516                ; Object references is being closed, cannot complete command 
  46. kOCEHasPendingMsgs                EQU        -1517
  47. kOCEInvalidConfiguration        EQU        -1518
  48. kOCERequiredServicesNotAvailable EQU        -1519
  49. kOCEServerInactive                EQU        -1520
  50. kOCEMoreDiskSpaceNeeded            EQU        -1521                ; Inadequate disk space to safely complete operation 
  51. kOCEParamErr                    EQU        paramErr            ; invalid parameter passed to toolbox 
  52.  
  53. ; AOCE Authentication Errors (-1540 to -1609) 
  54. kOCEReadAccessDenied            EQU        -1540
  55. kOCEWriteAccessDenied            EQU        -1541
  56. kOCEAccessRightsInsufficient    EQU        -1542                ; stream needs to be authenticated, or not authorized, or someone other than agent trying to TPFC, or problem in server-to-server authentication 
  57. kOCEUnsupportedCredentialsVersion EQU        -1543                ; don't know how to read that version of credentials 
  58. kOCECredentialsProblem            EQU        -1544                ; couldn't successfully decrypt credentials 
  59. kOCECredentialsImmature            EQU        -1545                ; current time < first valid time 
  60. kOCECredentialsExpired            EQU        -1546                ; current time > expiry time 
  61. kOCEProxyImmature                EQU        -1547                ; current time < proxy start time 
  62. kOCEProxyExpired                EQU        -1548                ; current time > proxy expiry time 
  63. kOCEDisallowedRecipient            EQU        -1549                ; Recipient not specified in proxy 
  64. kOCENoKeyFound                    EQU        -1550                ; found no key for entity in question 
  65. kOCEPrincipalKeyNotFound        EQU        -1551                ; couldn't decode proxy because principal has no key 
  66. kOCERecipientKeyNotFound        EQU        -1552                ; recipient has no key 
  67. kOCEAgentKeyNotFound            EQU        -1553                ; in TPFC, agent has no key 
  68. kOCEKeyAlreadyRegistered        EQU        -1554                ; entity already has a key 
  69. kOCEMalformedKey                EQU        -1555                ; key is of an unknown encryption method, or key doesn't match password 
  70. kOCEUndesirableKey                EQU        -1556                ; password too short, key too simple, or trying to change cluster key to the same value 
  71. kOCEWrongIdentityOrKey            EQU        -1557                ; In CheckIdentity, name doesn't exist or key is wrong 
  72. kOCEInitiatorKeyProblem            EQU        -1558                ; either we couldn't find the initiator's key or we found it but couldn't successfully decrypt instructions or proxy 
  73. kOCEBadEncryptionMethod            EQU        -1559                ; the specified encryption method is not supported 
  74. kOCELocalIdentityDoesNotExist    EQU        -1560                ; LocalIdentity has to be setup 
  75. kOCELocalAuthenticationFail        EQU        -1561                ; LocalIdentity Login has to be done for this operation 
  76. kOCELocalIdentitySetupExists    EQU        -1562                ; LocalIdentity setup exists, use change instead of setup 
  77. kOCEDirectoryIdentitySetupExists EQU        -1563                ; DirectoryIdentity setup exists, use change instead of setup 
  78. kOCEDirectoryIdentitySetupDoesNotExist EQU        -1564        ; DirectoryIdentity setup does not exist 
  79. kOCENotLocalIdentity            EQU        -1565                ; Use LocalIdentity calls instead! 
  80. kOCENoMoreIDs                    EQU        -1566                ; identity table is full 
  81. kOCEUnknownID                    EQU        -1567                ; identity passed is not valid 
  82. kOCEOperationDenied                EQU        -1568                ; LocalID operation denied 
  83. kOCEAmbiguousMatches            EQU        -1569                ; ambiguous matches found in resolving CIDs (more than 1 CID) 
  84. kOCENoASDSPWorkSpace            EQU        -1570                ; No ASDSP workspace passed for Open Secure Stream 
  85. kOCEAuthenticationTrouble        EQU        -1571                ; generic authentication problem 
  86.  
  87. ; AOCE Catalog Errors (-1610 to -1680) 
  88. kOCENotLocal                    EQU        -1610                ; the server does not serve the requested dNode 
  89. kOCETooBusy                        EQU        -1611                ; server cannot complete call at this time 
  90. kOCEDatabaseFull                EQU        -1612                ; disk is full 
  91. kOCETargetDirectoryInaccessible    EQU        -1613                ; Catalog server not responding 
  92. kOCEBogusArgs                    EQU        -1614                ; Args not formatted correctly on the wire 
  93. kOCENoSuchDNode                    EQU        -1615                ; the requested dNode does not exist 
  94. kOCEDNodeUnavailable            EQU        -1616                ; could not find any servers that serve the requested dNode 
  95. kOCEBadRecordID                    EQU        -1617                ; invalid RecordID (usually name and/or type don't match cid) 
  96. kOCENoSuchRecord                EQU        -1618                ; the specified record does not exist 
  97. kOCENoSuchAttributeValue        EQU        -1619                ; The attribute value that was passed in does not exist 
  98. kOCENoSuchPseudonym                EQU        -1620                ; the specified pseudonym does not exist 
  99. kOCEAttributeValueTooBig        EQU        -1621                ; self-explanatory 
  100. kOCETypeExists                    EQU        -1622                ; The type already exists in the record 
  101. kOCEMoreData                    EQU        -1623                ; only a warning - buffer not big enough 
  102. kOCERefNumBad                    EQU        -1624                ; RefNum is not valid 
  103. kOCEStreamCreationErr            EQU        -1625                ; problem creating stream 
  104. kOCEOperationNotSupported        EQU        -1626                ; the specified catalog does not support this operation 
  105. kOCEPABNotOpen                    EQU        -1627                ; specified Personal Catalog is not open to make the operation 
  106. kOCEDSAMInstallErr                EQU        -1628                ; specified CSAM could not be installed 
  107. kOCEDirListFullErr                EQU        -1629                ; catalog list is full, try removing an entry 
  108. kOCEDirectoryNotFoundErr        EQU        -1630                ; catalog was not found in the list 
  109. kOCEAbortNotSupportedForThisCall EQU        -1631                ; this call cannot be aborted 
  110. kOCEAborted                        EQU        -1632                ; this call was aborted 
  111. kOCEOCESetupRequired            EQU        -1633                ; LocalIdentity Setup is required 
  112. kOCEDSAMRecordNotFound            EQU        -1634                ; CSAM Record not found 
  113. kOCEDSAMNotInstantiated            EQU        -1635                ; CSAM is not instantiated 
  114. kOCEDSAMRecordExists            EQU        -1636                ; CSAM record already exists 
  115. kOCELengthError                    EQU        -1637                ; supplied buffer was too small 
  116. kOCEBadStartingRecord            EQU        -1638                ; Lookup starting record is not within range 
  117. kOCEBadStartingAttribute        EQU        -1639                ; Lookup starting attribute is not within range 
  118. kOCEMoreAttrValue                EQU        -1640                ; attribute value could not fit into buffer (even though it was the only value) 
  119. kOCENoDupAllowed                EQU        -1641
  120. kOCENoSuchAttributeType            EQU        -1642
  121. kOCEMiscError                    EQU        -1643                ; some other error 
  122. kOCENoSuchIcon                    EQU        -1644                ; no matching icon from GetDirectoryIcon 
  123. kOCERLIsDontMatch                EQU        -1645                ; RLIs do not match in lookup 
  124. kOCEDirectoryCorrupt            EQU        -1646                ; Serious disk fill corruption problem 
  125.  
  126. ; AOCE Standard Mail Errors (-1900 to -1949) 
  127. kSMPNotEnoughMemoryForAllRecips    EQU        -1900
  128. kSMPCopyInProgress                EQU        -1901
  129. kSMPMailerNotInitialized        EQU        -1902
  130. kSMPShouldNotAddContent            EQU        -1903
  131. kSMPMailboxNotFound                EQU        -1904
  132. kSMPNoNextLetter                EQU        -1905
  133. kSMPHasOpenAttachments            EQU        -1906
  134. kSMPFinderNotRunning            EQU        -1907
  135. kSMPCommandDisabled                EQU        -1908
  136. kSMPNoMailerInWindow            EQU        -1909
  137. kSMPNoSuchAddress                EQU        -1910
  138. kSMPMailerAlreadyInWindow        EQU        -1911
  139. kSMPMailerUneditable            EQU        -1912
  140. kSMPNoMatchingBegin                EQU        -1913
  141. kSMPCannotSendReceivedLetter    EQU        -1914
  142. kSMPIllegalForDraftLetter        EQU        -1915
  143. kSMPMailerCannotExpandOrContract EQU        -1916
  144. kSMPMailerAlreadyExpandedOrContracted EQU        -1917
  145. kSMPIllegalComponent            EQU        -1918
  146. kSMPMailerAlreadyNotTarget        EQU        -1919
  147. kSMPComponentIsAlreadyTarget    EQU        -1920
  148. kSMPRecordDoesNotContainAddress    EQU        -1921
  149. kSMPAddressAlreadyInList        EQU        -1922
  150. kSMPIllegalSendFormats            EQU        -1923
  151. kSMPInvalidAddressString        EQU        -1924
  152. kSMPSubjectTooBig                EQU        -1925
  153. kSMPParamCountErr                EQU        -1926                ;  enclosure count != 1, while sendEnclosure Only == true. 
  154. kSMPTooManyPages                EQU        -1927                ;  Exceeding the image page limit. 
  155. kSMPTooManyEnclosures            EQU        -1928
  156.  
  157. ; AOCE Standard Catalog Errors (-1950 to -1969) 
  158. kSDPNoSearchText                EQU        -1950
  159. kSDPTooManyLoginAttempts        EQU        -1951
  160. kSDPNoSelection                    EQU        -1952
  161. kSDPPersonalDirectoryRepairFailed EQU        -1953
  162.  
  163. ; AOCE Digital Signature Errors (-1970 to -1999) 
  164. kSIGOperationIncompatibleErr    EQU        -1970                ; context in use for different type of operation 
  165. kSIGCertificateQueryDenied        EQU        -1971                ; can't query certificates with this context 
  166. kSIGVerifyFailedErr                EQU        -1972                ; verification failed 
  167. kSIGInvalidCredentialErr        EQU        -1973                ; verified OK but credential out of date,  either pending or expired 
  168. kSIGIndexErr                    EQU        -1974                ; the index given is outside the range of allowable values 
  169. kSIGSignerErr                    EQU        -1975                ; problem with the signer or signature itself 
  170. kSIGPasswordErr                    EQU        -1976                ; password is incorrect 
  171. kSIGInternalsErr                EQU        -1977                ; an internal error occurred like a bad digest, context or signature 
  172. kSIGToolboxNotPresentErr        EQU        -1978                ; for client services (ie servers) to report back - not retruned by the TB 
  173. kSIGContextPrepareErr            EQU        -1979                ; context either prepared with VerifyPrepare, SignPrepare or DigestPrepare already or has been corrupted 
  174. kSIGNoDigestErr                    EQU        -1980                ; no digest in the signature 
  175. kSIGConversionErr                EQU        -1981                ; unabled to convert an attribute to Mac format 
  176. kSIGSignerNotValidErr            EQU        -1982                ; Signer has either expired or is pending and can not sign 
  177. kSIGNoSignature                    EQU        -1983                ; standard file signature not found 
  178.  
  179. ; AOCE Templates Errors (-15000 to -15039) 
  180. kDETInvalidTargetAspectName        EQU        -15000                ; Could not locate an aspect by name 
  181. kDETInvalidTargetItemNumber        EQU        -15001                ; Item number is target invalid (out of range 1..<number of children>) 
  182. kDETInvalidTargetFromNonAspect    EQU        -15002                ; Target selection relative to non-aspect object which requires an aspect 
  183. kDETInvalidTargetDSSpec            EQU        -15003                ; Target DSSpec could not be resolved 
  184. kDETUnknownTargetSelector        EQU        -15004                ; Unknown selector type for target specification 
  185. kDETInvalidTarget                EQU        -15005                ; Target specification was invalid (for reasons other than those above) 
  186. kDETTargetNotAnAspect            EQU        -15006                ; Specified target object was not an aspect 
  187. kDETInvalidCommandItemNumber    EQU        -15007                ; Command item number invalid (out of range 1..<number of items in selection>) 
  188. kDETUnableToGetCommandItemSpec    EQU        -15008                ; Unable to retrieve item specification (internal error, possibly out of memory) 
  189. kDETRequestedTypeUnavailable    EQU        -15009                ; Command item could not be represented in the form requested 
  190. kDETInvalidDSSpec                EQU        -15010                ; Could not resolve DSSpec (other than in target; see error above for targets) 
  191. kDETUnableToAccessProperty        EQU        -15011                ; Property could not be found and/or created 
  192. kDETInfoPageNotOpen                EQU        -15012                ; Info-page not open; request requires an open info-page 
  193. kDETNoSuchView                    EQU        -15013                ; No view found with specified property number 
  194. kDETCouldNotAddMenuItem            EQU        -15014                ; Could not add item to dynamic menu 
  195. kDETCouldNotRemoveMenuItem        EQU        -15015                ; Could not remove item from dynamic menu 
  196. kDETCouldNotFindMenuItem        EQU        -15016                ; Could not find menu item 
  197. kDETCouldNotFindCustomView        EQU        -15017                ; Could not find custom view in info-page 
  198. kDETInvalidReqFunction            EQU        -15018                ; Invalid call-back request function 
  199. kDETInvalidCallBack                EQU        -15019                ; Invalid call-back (for reasons other than those above) 
  200. kDETPropertyBusy                EQU        -15020                ; Edit is open on the property being set 
  201.  
  202. ; AOCE Mail Errors (-15040 to -15089) 
  203. kMailInvalidOrder                EQU        -15040                ; This object has already been written to and cannot be written again 
  204. ; handle non-zero offsets for now 
  205. kMailInvalidSeqNum                EQU        -15041                ; Invalid letter sequence o refers to an non–existent letter 
  206. kMailAttrNotInHdr                EQU        -15042                ; attribute does not exist in this letter header 
  207. kMailHdrAttrMissing                EQU        -15043                ; required attribute not written into letter header 
  208. kMailBadEnclLengthErr            EQU        -15044                ; incorrect number of bytes has been written after memForm of PutEnclosure 
  209. kMailInvalidRequest                EQU        -15045                ; cannot putAttr for report, putRcptReport for letter 
  210. kMailInvalidPostItVersion        EQU        -15046                ; cannot create new postit with this version 
  211. kMailNotASlotInQ                EQU        -15047                ; queueID does not refer to a slot's incoming queue 
  212. kMailLtrNotOpen                    EQU        -15048                ; letter is not open, probably not cached in inQ 
  213. kMailMissingMailCat                EQU        -15049                ; trying to create message in inq, with no postIt 
  214. kMailCannotWriteMailCat            EQU        -15050                ; cannot update a mail catentry 
  215. kMailTooManyTagsPerLetter        EQU        -15051                ; cannot add more than kMaxTagsPerLetter tags 
  216. kMailGwyDead                    EQU        -15052                ; MSAM died 
  217. kMailIgnoredErr                    EQU        -15053                ; ePPC message was ignored 
  218. kMailLengthErr                    EQU        -15054                ; ePPC message did not complete 
  219. kMailTooManyErr                    EQU        -15055                ; Too many = request outstanding, 
  220. kMailNoMSAMErr                    EQU        -15056                ; no MSAMs found in mailbox! or for command 
  221. kMailCancelled                    EQU        -15057
  222. kMailSlotSuspended                EQU        -15058
  223. kMailMSAMSuspended                EQU        -15059
  224. kMailBadSlotInfo                EQU        -15060
  225. kMailMalformedContent            EQU        -15061                ; a mailed structure is malformed 
  226. kMailNoSuchSlot                    EQU        -15062                ; no such slot 
  227. kMailBadLtrInfo                    EQU        -15063                ; bad info there, can't change 
  228. kMailSetFailed                    EQU        -15064                ; could not set letter info 
  229. kMailBadConfig                    EQU        -15065                ; MSAM has bad config info 
  230. kMailBadMSAM                    EQU        -15066                ; bad MSAM: not usable = reason unspec, 
  231. kMailCannotLkupServerSlots        EQU        -15067                ; cannot lookup adas for server mail slots 
  232. kMailBadState                    EQU        -15068                ; the state specifiy is not in any of defined 
  233.  
  234. ; AOCE Messaging Errors (-15090 to -15169) 
  235. kIPMCantCreateIPMCatEntry        EQU        -15090
  236. kIPMInvalidMsgType                EQU        -15091                ; bad msg hint 
  237. kIPMInvalidProcHint                EQU        -15092                ; bad proc hint 
  238. kIPMInvalidOffset                EQU        -15093                ; bad offset for read/write 
  239. kIPMUpdateCatFailed                EQU        -15094
  240. kIPMMsgTypeReserved                EQU        -15095
  241. kIPMNotInABlock                    EQU        -15096
  242. kIPMNestedMsgOpened                EQU        -15097
  243. kIPMA1HdrCorrupt                EQU        -15098
  244. kIPMCorruptDataStructures        EQU        -15099
  245. kIPMAbortOfNestedMsg            EQU        -15100
  246. kIPMBlockIsNotNestedMsg            EQU        -15101
  247. kIPMCacheFillError                EQU        -15102
  248. kIPMInvalidSender                EQU        -15103
  249. kIPMNoRecipientsYet                EQU        -15104
  250. kIPMInvalidFilter                EQU        -15105
  251. kIPMAttrNotInHdr                EQU        -15106
  252. kIPMBlkNotFound                    EQU        -15107
  253. kIPMStreamErr                    EQU        -15108                ; Error on stream (should this ever go out?) 
  254. kIPMPortClosed                    EQU        -15109                ; Port closed (should this ever go out?) 
  255. kIPMBinBusy                        EQU        -15110
  256. kIPMCorruptedBin                EQU        -15111
  257. kIPMBadQName                    EQU        -15112
  258. kIPMEndOfBin                    EQU        -15113
  259. kIPMBinNeedsConversion            EQU        -15114
  260. kIPMMgrInternalErr                EQU        -15115
  261. kIPMEltBusy                        EQU        -15116
  262. kIPMEltClosedNotDeleted            EQU        -15117
  263. kIPMBadContext                    EQU        -15118
  264. kIPMContextIsClosing            EQU        -15119
  265. kIPMeoQ                            EQU        -15120
  266. kIPMQOutOfSpace                    EQU        -15121
  267. kIPMEltNotFound                    EQU        -15122
  268. kIPMBinOutOfSpace                EQU        -15123
  269. kIPMeoCatEntry                    EQU        -15124
  270. kIPMeoElt                        EQU        -15125
  271. kIPMQBusy                        EQU        -15126
  272. kIPMNotSameBin                    EQU        -15127
  273. kIPMNoMoreServices                EQU        -15128
  274. kIPMLookupAttrTooBig            EQU        -15129                ; attribute in lookup is too big 
  275. kIPMUnknownUAM                    EQU        -15130
  276. kIPMUnsupportedLogin            EQU        -15131
  277. kIPMLogInUnknown                EQU        -15132
  278. kIPMNoMoreFilters                EQU        -15133
  279. kIPMCouldNotReadInfoReply        EQU        -15134
  280. kIPMInvalidUser                    EQU        -15135
  281. kIPMNoMoreSessions                EQU        -15136
  282. kIPMNilUserProc                    EQU        -15137
  283. kIPMBadCatSize                    EQU        -15138
  284. kIPMIncompleteMsg                EQU        -15139
  285. kIPMNoResponsibleTunnel            EQU        -15140
  286. kIPMAccessDenied                EQU        -15141
  287. kIPMReplyParamUnderrun            EQU        -15142                ; Too few reply parameters 
  288. kIPMReplyParamOverrun            EQU        -15143                ; Too many reply parameters 
  289. kIPMRequestParamUnderrun        EQU        -15144                ; Too few request parameters 
  290. kIPMOutOfSync                    EQU        -15145                ; Protocol sync. error 
  291. kIPMNoAttrsFound                EQU        -15146                ; couldn't find any attrs in lookup 
  292. kIPMWrongAttrTag                EQU        -15147                ; wrong attr tag in adas lookup 
  293. kIPMNullCID                        EQU        -15148                ; null cid in enumerate 
  294. kIPMBadMailSlotAttrVal            EQU        -15149                ; invalid mailslot attr value 
  295.  
  296.     ENDIF ; __OCEERRORS__
  297.